package com.room.search.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.room.search.domain.enumeration.city.CityStatusEnum;
import com.room.search.service.dto.city.HotCityDTO;

import java.io.Serializable;
import java.util.List;

/**
 * By   : ghd.bright
 * Time : 2022/1/17
 * Description: CityResponse
 */
public class CityResponse {

    CityStatusEnum code;

    @JsonProperty("topCityList")
    List<HotCityDTO> hotCityDTOS;

    public CityStatusEnum getCode() {
        return code;
    }

    public void setCode(CityStatusEnum code) {
        this.code = code;
    }

    public List<HotCityDTO> getHotCityDTOS() {
        return hotCityDTOS;
    }

    public void setHotCityDTOS(List<HotCityDTO> hotCityDTOS) {
        this.hotCityDTOS = hotCityDTOS;
    }
}
